from flask import Flask
from models import *
from goods_blue.goods_blue import blue

app = Flask (__name__)

app.config.from_pyfile("config.py")

app.register_blueprint(blue)

db.init_app(app)



@app.route ('/')
def hello_world ():
    return '欢迎来到京东商城分类'


if __name__ == '__main__':
    app.run ()
